package com.serial;

public class Config {

    public static final String SERVER_HTTP_URL = "http://47.97.126.122/TMBackend/public/index.php";

    public static final String ACTION_LOGIN = "/api/Login/login";
    public static final String ACTION_GET_AUTH ="/api/Delegate/clickGate";
    public static final String ACTION_GET_AUTH_LIST = "/api/Delegate/Delegate";
    public static final String ACTION_GET_SERIAL_LIST = "/api/Strand/strand";

    public static final int MESSAGE_LOGIN_SUCCESS = 100;
    public static final int MESSAGE_ERROR = 101;
    public static final int MESSAGE_LOGIN_FAIL = 102;
    public static final int MESSAGE_REQUEST_SERIAL_SUCCESS = 103;
    public static final int MESSAGE_REQUEST_SERIAL_FAIL = 104;
    public static final int MESSAGE_GET_AUTH_SUCCESS = 105;
    public static final int MESSAGE_GET_AUTH_FAIL = 106;

    public static String getUrl(String url){
        return SERVER_HTTP_URL+url;
    }

}